﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JM.JCY.BusinessEntity.DSJCYD94;
using JM.JCY.Common;
using JM.JCY.BusinessFacade;
using Microsoft.Practices.EnterpriseLibrary.PolicyInjection;

namespace JM.JCY.Proxy
{
    public class DSJCYD94Proxy : JCYProxyBase<IDSJCYD94>, IDSJCYD94
    {
        private IDSJCYD94 GetInstance()
        {
            return PolicyInjection.Create<DSJCYD94BF, IDSJCYD94>();
        }

        public T_SJ_AJXXDataSet.T_SJ_AJXXDataTable GetAJXXByUserName(string userName)
        {
            return this.GetInstance().GetAJXXByUserName(userName);
        }
        public T_SJ_AJXXDataSet.T_SJ_AJXXDataTable GetAJXX(string userName, string startDate, string endDate)
        {
            return this.GetInstance().GetAJXX(userName, startDate, endDate);

        }
        public T_SJ_AJXXDataSet.T_SJ_AJXXDataTable GetAJXXByBH(decimal BH)
        {
            return this.GetInstance().GetAJXXByBH(BH);
        }


        public T_SJ_AJXXDataSet.T_SJ_XYRDataTable GetXYRByBH(decimal BH)
        {
            return GetInstance().GetXYRByBH(BH);

        }
        public T_SJ_AJXXDataSet.T_ALLInfoDataTable GetXYRInfoByBH(decimal BH)
        {
            return GetInstance().GetXYRInfoByBH(BH);

        }
        public T_ZZ_AJXXDataSet.T_ZZ_AJXXDataTable GetZZData(string userName, string startDate,string endDate)
        {
            return GetInstance().GetZZData(userName, startDate, endDate);
        }
        public T_ZZ_AJXXDataSet.T_ZZ_AJXXDataTable GetZZDataByBH(decimal BH)
        {
            return GetInstance().GetZZDataByBH(BH);
        }

        public T_ZZ_AJXXDataSet.T_ZZ_BJBRDataTable GetBJBRDataByBH(decimal BH)
        {
            return GetInstance().GetBJBRDataByBH(BH);
        }
        public T_ZZ_AJXXDataSet.T_ZZ_JBRDataTable GetJBRDataByBH(decimal BH)
        {
            return GetInstance().GetJBRDataByBH(BH);
        }

        public T_ZZ_AJXXDataSet.T_ZZ_XYRDataTable GetZZ_XYRDataByBH(decimal BH)
        {
            return GetInstance().GetZZ_XYRDataByBH(BH);
        }

        public T_ZZ_AJXXDataSet.T_ZZ_ALLInfoDataTable GetZZAllInfoByBH(decimal BH)
        {
            return GetInstance().GetZZAllInfoByBH(BH);
        }

        public T_MX_AJXXDataSet.T_MX_AJXXDataTable GetMX_AJXX(string userName, string startDate, string endDate)
        {
            return GetInstance().GetMX_AJXX(userName, startDate, endDate);
        }

        public T_MX_AJXXDataSet.T_MX_DSRDataTable GetMX_DSRByBH(decimal BH)
        {
            return GetInstance().GetMX_DSRByBH(BH);
        }
        public T_MX_AJXXDataSet.T_MX_AJXXDataTable GetMXInfoByBH(decimal BH)
        {
            return GetInstance().GetMXInfoByBH(BH);
        }

        public T_MX_AJXXDataSet.T_MX_SSLYDataTable GetSSLYInfoByBH(decimal BH)
        {
            return GetInstance().GetSSLYInfoByBH(BH);
        }

        //Method to get the data in table T_DM
        public T_DMDataSet.T_DMDataTable GetDMByBXH(decimal BXH)
        {
            return GetInstance().GetDMByBXH(BXH);
        }

        public T_MX_AJXXDataSet.T_MX_DJXXDataTable GetDJXXInfoByBH(decimal BH)
        {
            return GetInstance().GetDJXXInfoByBH(BH);
        }
        public T_FJ_AJXXDataSet.T_FJ_AJXXDataTable GetFJAJXX(string userName, string startDate, string endDate)
        {
            return GetInstance().GetFJAJXX(userName, startDate, endDate);
        }

        public T_FJ_AJXXDataSet.T_FJ_AJXXDataTable GetFJAJXXByBH(decimal BH)
        {
            return GetInstance().GetFJAJXXByBH(BH);
        }

        public T_FJ_AJXXDataSet.T_FJ_BJBRDataTable GetFJBJBRByBH(decimal BH)
        {
            return GetInstance().GetFJBJBRByBH(BH);
        }

        public T_FJ_AJXXDataSet.T_FJ_XYRDataTable GetFJXYRByBH(decimal BH)
        {
            return GetInstance().GetFJXYRByBH(BH);
        }

        public T_FJ_AJXXDataSet.T_FJ_ALLInfoDataTable GetFJAllInfoByBH(decimal BH)
        {
            return GetInstance().GetFJAllInfoByBH(BH);
        }

        public T_RMJDY_JDAJXXDataSet.T_RMJDY_SearchDataTable GetRMJDYData(string userName, string startDate, string endDate)
        {
            return GetInstance().GetRMJDYData(userName, startDate, endDate);
        }

        public T_RMJDY_JDAJXXDataSet.T_RYXX20100322DataTable GetRYXXByRYByXM(string XM)
        {
            return GetInstance().GetRYXXByRYByXM(XM);
        }

        public T_RMJDY_JDAJXXDataSet.T_RMJDY_JDAJXXDataTable GetRMJDYDataBH(decimal BH)
        {
            return GetInstance().GetRMJDYDataBH(BH);
        }

        public T_RMJDY_JDAJXXDataSet.T_RYXX20100322DataTable GetRYXXByRYBH(decimal RYBH)
        {
            return GetInstance().GetRYXXByRYBH(RYBH);
        }

        public T_RMJDY_JDAJXXDataSet.T_RMJDY_XYRXXDataTable GetRMJDY_XYRDataBH(decimal BH)
        {
            return GetInstance().GetRMJDY_XYRDataBH(BH);
        }

        public T_RMJDY_JDAJXXDataSet.T_RMJDY_ALLAYInfoDataTable GetRMJDY_XYRAYData(decimal BH)
        {
            return GetInstance().GetRMJDY_XYRAYData(BH);
        }
        public T_XSGL_JBXSXXDataSet.T_XSGLDataTable GetXSGLData(string SAR, string StartDate, string EndDate)
        {
            return GetInstance().GetXSGLData(SAR, StartDate, EndDate);
        }

        public T_XSGL_JBXSXXDataSet.T_XSGLDataTable GetXSGLDataByBH(decimal BH)
        {
            return GetInstance().GetXSGLDataByBH(BH);
        }

        public T_XSGL_JBXSXXDataSet.T_XSGL_BJBRXXDataTable GetXSGL_BJBRByBH(decimal BH)
        {
            return GetInstance().GetXSGL_BJBRByBH(BH);
        }

        public T_XSGL_JBXSXXDataSet.T_XSGL_JBCLQKDataTable GetXSGL_JBCLQKByBH(decimal BH)
        {
            return GetInstance().GetXSGL_JBCLQKByBH(BH);
        }

        public T_XSGL_JBXSXXDataSet.T_RYXX20100322DataTable GetXSGL_RYXXByXM(string XM)
        {
            return GetInstance().GetXSGL_RYXXByXM(XM);
        }

        public T_DMDataSet.T_DMDataTable GetDMData()
        {
            return GetInstance().GetDMData();
        }

        public T_JDBDataSet.T_JDBSearchDataTable GetJDBData(string userName, string startData, string endData)
        {
            return GetInstance().GetJDBData(userName, startData, endData);
        }

        public T_JDBDataSet.T_JDBSearchDataTable GetJDBDataByBH(decimal BH)
        {
            return GetInstance().GetJDBDataByBH(BH);
        }

        public T_PB_AJXXDataSet.T_PB_AJXXDataTable GetPBData(string userName, string startDate, string endDate)
        {
            return GetInstance().GetPBData(userName, startDate, endDate);
        }

        public T_PB_AJXXDataSet.T_PB_AJXXDataTable GetPBDataByBH(decimal BH)
        {
            return GetInstance().GetPBDataByBH(BH);
        }

        public T_PB_AJXXDataSet.T_PB_XYRDataTable GetPBXYRByBH(decimal BH)
        {
            return GetInstance().GetPBXYRByBH(BH);
        }

        public T_PB_AJXXDataSet.T_PB_XYRAY_DMDataTable GetPBXYRAYByBH(decimal BH)
        {
            return GetInstance().GetPBXYRAYByBH(BH);
        }
        public T_XSGL_JBXSXXDataSet.T_DWBZDDataTable GetDWBZDData(decimal id, decimal BH)
        {
            return GetInstance().GetDWBZDData(id, BH);
        }

        public T_KS_JBXSXXDataSet.T_KS_SearchDataTable GetKSData(string userName, string startDate, string endDate)
        {
            return GetInstance().GetKSData(userName, startDate, endDate);
        }

        public T_KS_JBXSXXDataSet.T_KS_JBXSXXDataTable GetKSDataByBH(decimal BH)
        {
            return GetInstance().GetKSDataByBH(BH);
        }

        public T_KS_JBXSXXDataSet.T_RYXX20100322DataTable GetKS_RYXXByRYBH(decimal RYBH)
        {
            return GetInstance().GetKS_RYXXByRYBH(RYBH);
        }
        public T_KS_JBXSXXDataSet.T_KS_BJBRXXDataTable GetKS_BJBRDataByBH(decimal BH)
        {
            return GetInstance().GetKS_BJBRDataByBH(BH);
        }

        public T_AJBSGXDataSet.T_AJBSGXDataTable GetAJBSGXDataByBH(decimal BH)
        {
            return GetInstance().GetAJBSGXDataByBH(BH);
        }

        public T_AJGL_AJJK_YJAJDataSet.T_AJGL_AJJK_YJAJDataTable GetAJGL_AJJK_YJAJ(string CBR, string CBBM, int KSRQ, int CQRQ, string startDate, string endDate)
        {
            return GetInstance().GetAJGL_AJJK_YJAJ(CBR, CBBM, KSRQ, CQRQ, startDate, endDate);
        }
        public T_AJGL_AJCXDataSet.T_AllDataDataTable GetAJGL_AJCX(string CBR, string CBBM, string startDate, string endDate, string N_AJLB)
        {
            return GetInstance().GetAJGL_AJCX(CBR, CBBM, startDate, endDate, N_AJLB);
        }

        public T_AJGL_AJJK_YJAJDataSet.T_AJGL_AJJK_YJAJDataTable GetTOPFive()
        {
            return GetInstance().GetTOPFive();
        }

        //部门案件
        public CaseManagementDataSet.T_AJGL_AJJK_BMAJDataTable GetDepartmentCase(string deptName)
        {
            return GetInstance().GetDepartmentCase(deptName);
        }
        //全流程案件
        public CaseManagementDataSet.T_AJGL_AJJK_QLCAJDataTable GetFullFlowCase(string AJJD)
        {
            return GetInstance().GetFullFlowCase(AJJD);
        }

        //重点监督案件
        public CaseManagementDataSet.T_AJGL_AJJK_ZJJDAJDataTable GetKeyPointCase()
        {

            return GetInstance().GetKeyPointCase();
        }

        //根据承办人统计预警案件数量
        public int GetCaseWarningCountByCBR(string CBR)
        {
            return GetInstance().GetCaseWarningCountByCBR(CBR);
        }
    }
}
